package com.whfc.emp.dto.openapi;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author sun_guodong
 * @description
 * @date 2020-06-23
 */
@Data
public class OpenApiEmpDTO implements Serializable {

    /**************人员基本信息*****************/
    private Integer empId;
    private String empName;
    private Integer gender;
    private Integer bindState;
    private String phone;
    private Integer cardType;
    private String idCardNo;
    private Integer groupId;
    private String groupName;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date idCardStartDate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date idCardEndDate;
    private Integer bindFlag;

    /****************人员硬件数据****************/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;
    private String deviceSn;
    private Integer batterPower;
    private Integer localeState;
    private Integer attendState;
    private Double lng;
    private Double lat;

}
